#include "ui/JoinSpecificDialog.h"
#include "ui_JoinSpecificDialog.h"

JoinSpecificDialog::JoinSpecificDialog(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::JoinSpecificDialog) {
    ui->setupUi(this);
}

JoinSpecificDialog::~JoinSpecificDialog() {
    delete ui;
}

QString JoinSpecificDialog::getJoinAddress() {
    return ui->addressLineEdit->text();
}

quint16 JoinSpecificDialog::getJoinPort() {
    return ui->portSpinBox->value();
}
